A Programming Language for Design Patterns

نویسندگان

  • Stefan Bünnig
  • Peter Forbrig
  • Ralf Lämmel
  • Normen Seemann
چکیده

Design patterns are widely used in object-oriented design. The application of design patterns in programming, however, is usually based on manual implementation in an ordinary object-oriented programming language resulting in problems like the lack of encapsulation, traceability and reusability of the patterns. We present a design pattern oriented programming model as an extension of the object oriented programming model. The model copes with the speciication and application of patterns and it is supported by a programming language PaL. The expressive power is gained by supporting a certain kind of superpo-sition for class structures surpassing standard methods of reuse such as inheritance, genericity and composition.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Design Patterns as Language Constructs ( To appear in the Journal of Object - Oriented Programming ) Jan

Design patterns have proven to be very useful for the design of object-oriented systems. The power of design patterns stems from their ability to provide generic solutions to reappearing problems that can be specialised for particular situations. The implementation of design patterns, however, has received only little attention and we have identified four problems associated with the implementa...

متن کامل

A Formal Language for Design Patterns

This article sets forth a rigorous approach to the concept of a ‘design pattern language’. We present a method of using a programming language to manipulate constructs of ordinary OOP language (such as classes and relations). We show that the specification of many design patterns can phrased as algorithms in this metaprogramming environment. The advantage is in delivering a precise method of de...

متن کامل

A pattern system for aspect-oriented design

Aspect orientation can be used to evolve and improve objectoriented design patterns. However, the newly proposed patterns are generally specific to a particular aspect-oriented programming language (such as AspectJ, Hyper/J, etc). In order to mitigate this limit, we proposed a general aspect-oriented design modeling language that we used to express the aspect-oriented structures of all the GoF ...

متن کامل

Design Patterns as Language Constructs

Design patterns have proven to be very useful for the design of object-oriented systems. The power of design patterns stems from their ability to provide generic solutions to reappearing problems that can be specialised for particular situations. The implementation of design patterns, however, has received only little attention and we have identified four problems associated with the implementa...

متن کامل

Advanced Programming Language Features for Executable Design Patterns “Better Patterns Through Reflection”

The Design Patterns book [GHJV94] presents 24 time-tested patterns that consistently appear in well-designed software systems. Each pattern is presented with a description of the design problem the pattern addresses, as well as sample implementation code and design considerations. This paper explores how the patterns from the “Gang of Four”, or “GOF” book, as it is often called, appear when sim...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1999